package wibrst.sound {
	import com.reintroducing.sound.SoundManager;
	/**
	 * ...
	 * @author wibrst@qq.com
	 */
	public class SoundSlot{
		
		public function SoundSlot() {
			_vcIds = new Vector.<String>;
		}
		
		public function stopAll() {
			for each( var id:String in _vcIds ) {
				if ( SoundManager.inst.hasSound( id ) ) {
					SoundManager.inst.stopSound( id );
				}
			}
		}
		
		private var _idPlaying:String;
		private var _vcIds:Vector.<String>;
		
		public function get idPlaying():String { return _idPlaying; }
		
		public function set idPlaying(value:String):void {
			_idPlaying = value;
		}
		
		public function get vcIds():Vector.<String> { return _vcIds; }
		
	}

}